package online.mjchow.fic.util;

import java.io.FileInputStream;
import java.util.Properties;

/**
 * Created by mjchow on 16-10-30.
 */
public class PropertiesUtil {

    private PropertiesUtil() {}
    public static Properties getProperties(String path) {
        try {
            FileInputStream fis = new FileInputStream(path);
            Properties properties = new Properties();
            properties.load(fis);
            fis.close();
            return properties;
        } catch (Exception e) {
            e.printStackTrace();
        } finally {

        }
        return null;
    }
}
